public class Stampante {

	private int from = 10;

	private int to = 1;

	public Stampante(int from, int to) {

		this.from = from;

		this.to = to;
	}

	public void print() {
		for (int i = from; i <= to; i++) {
			System.out.print(i + "\t");
		}
	}

	public static void main(String args[]) {

		Stampante s1 = new Stampante(1, 10);

		Stampante s2 = new Stampante(11, 20);
		s1.print();
		s2.print();
		System.out.println("Fine");
	}
}
